#ifndef _SHELL_ITEMINFO_BEAN_H_
#define _SHELL_ITEMINFO_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class ItemInfo : public Bean
{
	public:
	ItemInfo();
	~ItemInfo();
	void reset();
	ItemInfo* clone();
	//物品动态id
	int64 id;
	//资源id
	int32 resourtId;
	//幸运值
	int8 luckNum;
	//拥有物品数量
	int32 itemNum;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
